package com.example.seata_order.dao;

import com.example.seata_order.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper  // 告诉springboot这是一个mybatis的mapper
@Repository // 将OrderDao交由spring容器管理
public interface OrderDao {

    public int addOrder(Order order);

    public int canalOrder(Integer id);



}
